package com.qf.service;

import com.qf.pojo.Community;
import com.qf.pojo.Tenement;
import com.qf.pojo.Worker;
import com.qf.queryVo.WorkerVo;

import java.util.List;

public interface WorkerService {
    List<Worker> findAll(WorkerVo workerVo);
    List<Worker> findAll();
    Worker findById(Integer id);
    void removeOne(Integer id);
    void removeList(List<Integer> ids);
    void addWorker(Worker worker);
    void updateWorker(Worker worker);
    List<Community> toGetCommunity();

    List<Tenement> toGetTenement();
}
